package com.wendjia.demo.dao;

import com.wendjia.demo.model.User;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.List;


/**
 * Created by wendjia on 2017/3/8.
 */

public interface UserDao  extends MongoRepository<User,String>  {
    public User findByName(String name);
//    public List<User> findByName(String name);
}
